#循环嵌套
for  a in range(0,5): #
    print("外层循环",a)
    for b in range(0,a):
        print("内层循环", b)
    print("-"*10)
"""
练习：打印
*****
*****
*****
*****
"""
# num=int(input("请输入数字"))
for a in range(0,5):
    for b in range(5):
        #每行打印5个*
        print("*",end="")
    print("") #换行



